﻿using System;

using Job.Core.Module;

namespace Job.ManageMember
{
    /// <summary>
    /// Member 服务类。
    /// </summary>
    public static class MemberService
    {

        #region Properties

        private const string moduleName = "ManageMember";
        /// <summary>
        /// 模块名称。
        /// </summary>
        public static string ModuleName
        {
            get { return moduleName; }
        }

        private static readonly IMemberRepository repository = ProviderService.GetModule(ModuleName) as IMemberRepository;
        /// <summary>
        /// 仓储。
        /// </summary>
        public static IMemberRepository Repository
        {
            get { return repository; }
        }

        #endregion

    }
}
